package com.lww.feature.test.string;

import org.junit.Test;

import java.time.Instant;
import java.time.LocalDateTime;

/**
 * User: yian
 * Date: 2017/5/25
 */
public class test {
    @Test
    public void 换行符(){
        System.out.println("a" + "\n" + "b" + "c" + "\n" + "d");

        LocalDateTime now = LocalDateTime.now();
        LocalDateTime localDateTime = now.withSecond(0).withNano(0).withHour(0).withMinute(0);
        System.out.println(localDateTime);
    }
}
